package com.darly.chinese.db.book.table;


import com.darly.chinese.db.book.database.BookDataBase;
import com.raizlabs.android.dbflow.annotation.Column;
import com.raizlabs.android.dbflow.annotation.PrimaryKey;
import com.raizlabs.android.dbflow.annotation.Table;
import com.raizlabs.android.dbflow.structure.BaseModel;

@Table(database = BookDataBase.class)
public class BookRecordBean extends BaseModel {
    //所属的书的id
    @PrimaryKey
    @Column
    private String bookId;
    //阅读到了第几章
    @Column
    private int chapter;
    //当前的页码
    @Column
    private int pagePos;

    public String getBookId() {
        return bookId;
    }

    public void setBookId(String bookId) {
        this.bookId = bookId;
    }

    public int getChapter() {
        return chapter;
    }

    public void setChapter(int chapter) {
        this.chapter = chapter;
    }

    public int getPagePos() {
        return pagePos;
    }

    public void setPagePos(int pagePos) {
        this.pagePos = pagePos;
    }
}
